<div class="pageContent">
	<form action="<?php echo url('union/index');?>" method="post" onsubmit="return validateCallback(this,navTabAjaxDone)">
		<div class="pageFormContent" layoutH="60">
			
				<p>
				<label>设置状态：</label>
				<?php 
					$acct = acct::find('id = ? and acctname = ?',$_SESSION['acct']['id'],$_SESSION['acct']['acctname'])->getone();
					
				?>
				<?php echo $acct->unionset->id ? '已经设置':'未设置';?>
				</p>
				<p>
				<label>比例(1-100)：</label>
				<input type="text" class="required" value="<?php echo floatval($acct->unionset->set_lv1)?>" name="setlv1" />%
				</p>
				<p>
				<label>说明:</label>
				推荐使用以后，下级每次冲值，上级可获取相对比例的话费，例：设置为5%，133333333333推荐18888888888使用，那以后18888888888每次冲值13333333333可获取5%的话费
				</p>
				
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button class="close" type="button">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div> 
